<?php

namespace App\Providers;

use App\Service\ContentService;
use App\Service\Impl\ContentServiceImpl;
use App\Service\Impl\ListServiceImpl;
use App\Service\ListService;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
        $this->app->instance(ContentService::class, $this->app->make(ContentServiceImpl::class));
        $this->app->instance(ListService::class, $this->app->make(ListServiceImpl::class));
    }

    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }
}
